package com.qidianit.mes.pojo.pro;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qidianit.mes.pojo.Material;
import lombok.Data;

import java.time.LocalDateTime;


@Data
public class WorkflowProduct {
    private Long id;
    private Long workflowId;
    private String productCode;
    private String remarks;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private String updateBy;
    private Integer deleteFlag;

    // 级联对象
    private Material product;

}

